package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsRoleDaoImpl;
import com.educate.upms.model.bo.UpmsRoleBO;
import com.educate.upms.model.po.UpmsRole;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsRoleDao extends MongoRepository<UpmsRole, String> {

    /**
     * #{@link UpmsRoleDaoImpl#query(UpmsRoleBO, Pageable)}
     */
    Page<UpmsRole> query(UpmsRoleBO bo, Pageable pageable);
}
